[PATCH] [3.11] gh-100884: email/_header_value_parser: don't encode list separators...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Feb 2024 13:01:02 +0000 (14:01 +0100)
committerArnaud Rebillout <arnaudr@debian.org>
Tue, 14 Apr 2026 04:38:32 +0000 (11:38 +0700)
commit01078deba3f7b88cda39d60304cbd81b44498fd4
tree69018016ebc191b775056c37ede7ef8d84147a8e
parentffec2f1f3060c91c8285c8a8ccc48711d26102d2
[PATCH] [3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) (GH-115593)

ListSeparator should not be encoded. This could happen when a long line
pushes its separator to the next line, which would have been encoded.
(cherry picked from commit 09fab93c3d857496c0bd162797fab816c311ee48)

Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit 70754d21c288535e86070ca7a6e90dcb670b8593)

Gbp-Pq: Name CVE-2025-1795-1.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py